package com.travel.modules.sys.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 用户的token
 * @TableName SYS_USER_TOKEN
 */
@Data
@TableName("sys_user_token")
public class SysUserToken implements Serializable {
    /**
     * 用户id
     *
     * @mbg.generated 2021-03-04 23:00:23
     */
    @TableId(type = IdType.INPUT)
    private Integer userId;

    /**
     * token
     *
     * @mbg.generated 2021-03-04 23:00:23
     */
    private String token;

    /**
     * 过期时间
     *
     * @mbg.generated 2021-03-04 23:00:23
     */
    private Date expireTime;

    /**
     * 更新时间
     *
     * @mbg.generated 2021-03-04 23:00:23
     */
    private Date updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table SYS_USER_TOKEN
     *
     * @mbg.generated 2021-03-04 23:00:23
     */
    private static final long serialVersionUID = 1L;
}